package com.dhecp.project.business.service;

import com.dhecp.common.core.domain.AjaxResult;
import com.dhecp.project.business.domain.LogsticsPattern;

import java.util.List;
import java.util.Map;

/**
 * 物流名称  业务层
 * @Author fxz
 * @Date 2022/9/22
 */
public interface LogsticsPatternService {
    /**
     * 查询物流名称
     * @param params
     * @Author: fxz
     * @date: 2022/9/22
     */
    List<LogsticsPattern> queryList(Map<String, Object> params) throws Exception;

    /**
     * 新增物流名称
     * @author fxz
     * @date: 2022-09-22 10:53
     */
    AjaxResult insertLogsticsServer(Map<String, Object> params);

    /**
     *@Description: 查询指定单nid的首记录
     *@Param: nid 必要参数：当前 单据编码
     *@Author: fxz
     *@date: 2022-09-22 19:00
     */
    LogsticsPattern queryFirstByGuid(Map<String, Object> params) throws Exception;

    /**
     * 修改物流名称
     * @author fxz
     * @date: 2022-09-22
     */
    AjaxResult updateLogsticsPattern(Map<String, Object> params);

    /**
     * 删除物流名称
     * @author fxz
     * @date: 2022-09-23
     */
    AjaxResult deleteLogsticspattern(Map<String, Object> params);

    /**
     * 同步材质
     * @author fxz
     * @date: 2023-02-27
     */
    AjaxResult hotMaterial(Map<String, Object> params) throws Exception;
}
